Package-level declarations
Functions
Link copied to clipboard
fun <E : KoBaseProvider> List<E?>.assertEmpty(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null)
Asserts that the list is empty.
fun <E : KoBaseProvider> Sequence<E?>.assertEmpty(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null)
Asserts that the sequence is empty.
Link copied to clipboard
fun <E : KoBaseProvider> E?.assertFalse(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null, function: (E) -> Boolean?)
Asserts that element not match the specified predicate.
fun <E : KoBaseProvider> List<E?>.assertFalse(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null, function: (E) -> Boolean?)
Asserts that no elements in the list match the specified predicate.
fun <E : KoBaseProvider> Sequence<E?>.assertFalse(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null, function: (E) -> Boolean?)
Asserts that no elements in the sequence match the specified predicate.
Link copied to clipboard
fun <E : KoBaseProvider> List<E?>.assertNotEmpty(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null)
Asserts that the list is not empty.
fun <E : KoBaseProvider> Sequence<E?>.assertNotEmpty(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null)
Asserts that the sequence is not empty.
Link copied to clipboard
fun <E : KoBaseProvider> E?.assertNotNull(additionalMessage: String? = null, testName: String? = null)
Asserts that the element has not null
value.
Link copied to clipboard
Asserts that the element has null
value.
Link copied to clipboard
fun <E : KoBaseProvider> E?.assertTrue(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null, function: (E) -> Boolean?)
Asserts that element match the specified predicate.
fun <E : KoBaseProvider> List<E?>.assertTrue(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null, function: (E) -> Boolean?)
Asserts that all elements in the list match the specified predicate.
fun <E : KoBaseProvider> Sequence<E?>.assertTrue(strict: Boolean = false, additionalMessage: String? = null, testName: String? = null, function: (E) -> Boolean?)
Asserts that all elements in the sequence match the specified predicate.